cody - HTMLify profile

cody
4270 Files
632542 Views
Latest files of /cody/solygambas/html-css-javascript-projects/030-auto text effect
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
* {
box-sizing: border-box;
}
body {
background-color: darksalmon;
* {
box-sizing: border-box;
}
body {
background-color: darksalmon;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Auto Text Effect</title>
</head>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Auto Text Effect</title>
</head>
const textElement = document.getElementById("text");
const speedElement = document.getElementById("speed");
const text = "We Love Programming!";
let index = 1;
let speed = 300 / speedElement.value;
const writeText = () => {
textElement.innerText = text.slice(0, index);
const speedElement = document.getElementById("speed");
const text = "We Love Programming!";
let index = 1;
let speed = 300 / speedElement.value;
const writeText = () => {
textElement.innerText = text.slice(0, index);